/*
 * @Author: zulezhe
 * @Date: 2022-01-18 17:57:25
 * @LastEditors: zulezhe
 * @LastEditTime: 2022-01-20 11:29:07
 * @Path: https://gitee.com/zulezhe/
 * @Description:
 */
import request from '@/utils/request.js'
/**
 *查询角色列表
 * @param {*} data
 * @returns
 */
export function list(data) {
    return request({
        url: '/role/list',
        method: 'get',
        data,
    })
}

/**
 *删除角色
 * @param {*} data
 * @returns
 */
export function del(data) {
    return request({
        url: '/role/del',
        method: 'post',
        data
    })
}
